/**
 * 
 */
package com.tvshows.structure.beans;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

import org.hibernate.annotations.GenericGenerator;

/**
 * @author tMidy
 */
@Entity( name = "Property" )
@NamedQueries( { @NamedQuery( name = "property.load", query = "SELECT p from Property p" ) } )
public class Property
    implements Serializable
{

    /**
     * 
     */
    private static final long serialVersionUID = 7347129329254872840L;

    @Id
    @Column( name = "ID" )
    @GenericGenerator( name = "gen", strategy = "increment" )
    @GeneratedValue( generator = "gen" )
    private int idProperty;

    @Column( name = "PATH_PROPERTY" )
    private String pathProperty;

    /**
	 * 
	 */
    public Property()
    {
    }

    public int getIdProperty()
    {
        return idProperty;
    }

    public void setIdProperty( int idProperty )
    {
        this.idProperty = idProperty;
    }

    public String getPathProperty()
    {
        return pathProperty;
    }

    public void setPathProperty( String pathProperty )
    {
        this.pathProperty = pathProperty;
    }

}
